package com.jn.erp.wechat.student.api.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jn.erp.web.api.student.entity.Student;
import com.jn.erp.web.api.student.entity.StudentUser;
import com.jn.erp.wechat.student.api.entity.vo.StudentInfoVo;
import com.jn.erp.wechat.student.api.mapper.StudentInfoMapper;
import com.jn.erp.wechat.student.api.service.StudentInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <pre>
 *
 * </pre>
 *
 * @author sunjiyong
 * @since 2024/11/5 8:55
 */
@Service
public class StudentInfoServiceImpl  extends ServiceImpl<StudentInfoMapper, Student> implements StudentInfoService {
    @Override
    public List<StudentInfoVo> getStudentOrg(Long userId) {
        return baseMapper.getStudentOrg(userId);
    }

    @Override
    public StudentUser getMpidByStudentUser(Long userId) {
        return baseMapper.getMpidByStudentUser(userId);
    }
}
